home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / hp2xx312.lha / hp2xx312 / makes / readme < prev    next >
Text File  |  1993-04-18  |  3KB  |  88 lines

  1. (c) 1992, 1993 H. Werntges      HP2XX release 3.1.2                 93/04/17
  2.                                 ===================
  3.  
  4. Files in ./makes:
  5. ---------------------
  6.  
  7. README         This file
  8.  
  9. generic.mak    Generic Makefile, primarily for UNIX-like systems
  10.  
  11. amiga.mak      Makefile for AMIGA (last release by CHL, 01/93)
  12. atari.mak      Makefile for ATARI (last release by AS,  01/93)
  13. borland.mak    Makefile for DOS & Borland C++, tested with BCC 2.0
  14. dosdjgpp.mak   Makefile for DOS and DJ Delorie's go32 and gcc/g++ adaptation
  15. os2emx.mak     Makefile for OS/2 2.x and the E. Mattes' emx and gcc/g++,
  16.                tested with OS/2 2.[01] & emx-0.8[ef]
  17.  
  18. generic.mak    Generic Makefile, primarily for UNIX-like systems
  19.  
  20. vax.mms        Dummy to remind that the VAX/VMS MMS file is still missing
  21.  
  22.  
  23.  
  24. For installation,
  25.  
  26.   o  select the makefile template most closely resembling
  27.      your system's needs. On Unix systems, use "generic.mak".
  28.  
  29.   o  copy it to ../sources/makefile
  30.  
  31.   o  cd ../sources
  32.  
  33.   o  manually adapt (edit) makefile. Sorry - installation procedure is only
  34.      beginning to evolve here due to lack of test facilities.
  35.  
  36.      The special makefiles should hardly need any modification. Edit them
  37.      only if they don't work right away.
  38.  
  39.      For the generic makefile, there are three configuration steps:
  40.  
  41.        1) Site-specific changes:
  42.  
  43.           -- Change the (prefix) definition to where you want to install hp2xx.
  44.           -- Change the compiler (CC) and the compiler switches (CFLAGS).
  45.              The defaults use gcc, of course.
  46.           -- If needed, add library paths and include paths (LDFLAGS, CPPFLAGS).
  47.  
  48.        2) System-specific changes:
  49.  
  50.           -- Main configuration step:
  51.  
  52.              Un-comment the definitions for your target system
  53.              and comment-out the default definitions.
  54.  
  55.              If your system is not listed, try the defaults first, and modify
  56.              them if needed. Study the other systems' settings to get an idea
  57.              of what modification may be necessary.
  58.  
  59.        3) Optional additions:
  60.  
  61.           Optionally add support for modes PIC and PAC by un-commenting
  62.           the appropriate lines.
  63.  
  64.  
  65.   o  Run "make all" from ../sources. This should result in a binary file.
  66.  
  67.   o  Optionally run a few tests using the HP-GL files in ../hp-tests
  68.  
  69.   o  INSTALLATION:
  70.  
  71.      Either put this file somewhere on the search path,
  72.      etc. in /usr/local/bin, or run "make install-bin" (if provided).
  73.  
  74.      Optionally install the documentation (see ../doc/README). If provided
  75.      (generic makefile), use
  76.  
  77.           -- "make install-man"  to install the manual page,
  78.           -- "make install-info" to install the info file (recommended)
  79.  
  80.      NOTE:
  81.           -- "make install" installs both the binary and all docs.
  82.  
  83.   o  Optionally run "make clean" (not always provided).
  84.  
  85.  
  86.  
  87. -----------------------------------------------------------------------------
  88.